package lab02.test37;

class Undergraduate extends Student{
    @Override
    String grade() {
        for (j = 0; j <= 2; j++) {
            sum = sum + grade[j];
        }
        sum=sum/3;
        if (sum>=60){
            return "准许授予学士学位";
        }
        else
            return "不授予学士学位";

    }
}

